<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta></meta>
<title>Title of the document</title>
</head>

<body>
<div id="content">
	<select>
		<option value="">Please Select</option>
		<option value="BINHI">BINHI</option>
		<option value="KADWIA">KADIWA</option>
		<option value="KADIWA">BUKLOD</option>
	</select>
	<select>
		<option value="">Please Select Tungkulin</option>
		<?php foreach ($records as $data){?>
			<option value=""><?php echo $data->firstname;?></option>
		<?php }?>
	</select>
	<table>
		<tr>
			<th>Sample</th>
		</tr>
		<tr>
			<td>Gwapo</td>
		</tr>
		<?php foreach ($in as $rec) {?>
			<tr><td><?php echo $rec->firstname;?></td></tr>
		<?php }?>
	</table>
	<?php echo $this->table->generate($in);?>
</div>
</body>

</html>